## Get Docker images
# docker pull ccr.ccs.tencentyun.com/devopsvip/jenkins:2.415-jdk11
# docker pull ccr.ccs.tencentyun.com/devopsvip/inbound-agent:latest-jdk11
## LoadDockerImage
# kind load  docker-image ccr.ccs.tencentyun.com/devopsvip/jenkins:2.415-jdk11 --name devopscluster
# kind load  docker-image ccr.ccs.tencentyun.com/devopsvip/inbound-agent:latest-jdk11 --name devopscluster

#jenkins
# sudo mkdir -p /data/storage/kubernetes/jenkins
# sudo chmod -R 777 /data/storage/kubernetes/jenkins

## ArgoAPP
kubectl -n argocd apply -f jenkins-argoapp.yaml 
kubectl -n argocd apply -f jenkins-agent-argoapp.yaml

## Jenkins build cache
# sudo mkdir -p /data/storage/kubernetes/jenkins-build-cache
# sudo chmod -R 777 /data/storage/kubernetes/jenkins-build-cache

## Jenkins agent build workspace
# sudo mkdir -p  /data/storage/kubernetes/jenkins-workspace
# sudo chmod -R 777 /data/storage/kubernetes/jenkins-workspace